// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { ToastPlugin,ConfirmPlugin,AlertPlugin} from 'vux'
Vue.use(ToastPlugin)

Vue.config.productionTip = false;

// 请求URL
Vue.config.API_GET_HEADER = 'http://localhost:3000/';

// 登录状态  默认为false
Vue.config.logState = localStorage.logState ;


/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  template: '<App/>',
  components: { App }
})
